//
//  Page.h
//  Menu
//
//  Created by trimad on 11-11-17.
//  Copyright 2011 Trimad Group. All rights reserved.
//

#import <Foundation/Foundation.h>

@class Category;

@interface Page : NSObject {
	int number;
	int viewType;
	Category *topCategory;
	Category *subCategory;
	NSArray *items;
}

@property int number;
@property int viewType;
@property (nonatomic, retain) Category *topCategory;
@property (nonatomic, retain) Category *subCategory;
@property (nonatomic, retain) NSArray *items;

@end

/*
 * Page layout枚举类型 
 */
typedef enum {
	OneBlockBoxStyle1 = 0,
	TwoBlockBoxStyle1 = 1,
    TwoBlockBoxStyle2 = 2,
	ThreeBlockBoxStyle1 = 3,
	ThreeBlockBoxStyle2 = 4,
	NineBlockBox = 5,
	FourBlockBoxStyle = 6,
	SixBlockBoxStyle = 7,
	
	AdStyle1 = 1000
} PageLayoutStyle;
